package cn.donting.jme.editor.file;


import cn.donting.jme.EditorContent;

import java.io.File;

/**
 * 文件引用管理器
 * TODO:
 */
public class FileRefManager {

    private File refFileInfo;

    public FileRefManager() {
        File editorDataDir = EditorContent.getEditorDataDir();
        refFileInfo=new File(editorDataDir,"refFileInfo.json");
    }

    private void save(){

    }

    /**
     * file 引用了 refFile
     * @param file
     * @param refFile
     */
    private void addRef(File file,File refFile){

    }

    /**
     * 删除了一个 引用
     * @param file
     * @param refFile
     */
    private void deleteRef(File file,File refFile){

    }
}
